
//API常量
export enum sysBaseUrlAPI {
  SYS_COMPANY_API_ADD = 'api/sys/company/add',
  SYS_COMPANY_API_UPDATE = 'api/sys/company/update',
  SYS_COMPANY_API_DELETE = 'api/sys/company/delete',
  SYS_COMPANY_API_PAGE = 'api/sys/company/page',

  SYS_DEPARTMENT_API_ADD = 'api/sys/department/add',
  SYS_DEPARTMENT_API_UPDATE = 'api/sys/department/update',
  SYS_DEPARTMENT_API_DELETE = 'api/sys/department/delete',
  SYS_DEPARTMENT_API_PAGE = 'api/sys/department/page',

  SYS_DICTIONARY_TYPE_API_ADD = 'api/sys/dictionary_type/add',
  SYS_DICTIONARY_TYPE_API_UPDATE = 'api/sys/dictionary_type/update',
  SYS_DICTIONARY_TYPE_API_DELETE = 'api/sys/dictionary_type/delete',
  SYS_DICTIONARY_TYPE_API_PAGE = 'api/sys/dictionary_type/page',

  SYS_DICTIONARY_API_ADD = 'api/sys/dictionary/add',
  SYS_DICTIONARY_API_UPDATE = 'api/sys/dictionary/update',
  SYS_DICTIONARY_API_DELETE = 'api/sys/dictionary/delete',
  SYS_DICTIONARY_API_PAGE = 'api/sys/dictionary/page',

  SYS_ICON_API_ADD = 'api/sys/icon/add',
  SYS_ICON_API_UPDATE = 'api/sys/icon/update',
  SYS_ICON_API_DELETE = 'api/sys/icon/delete',
  SYS_ICON_API_PAGE = 'api/sys/icon/page',

  SYS_TUPLE_API_ADD = 'api/sys/tuple/add',
  SYS_TUPLE_API_UPDATE = 'api/sys/tuple/update',
  SYS_TUPLE_API_DELETE = 'api/sys/tuple/delete',
  SYS_TUPLE_API_PAGE = 'api/sys/tuple/page',

  SYS_MENU_API_ADD = 'api/sys/menu/add',
  SYS_MENU_API_UPDATE = 'api/sys/menu/update',
  SYS_MENU_API_DELETE = 'api/sys/menu/delete',
  SYS_MENU_API_PAGE = 'api/sys/menu/page',

  SYS_ROLE_API_ADD = 'api/sys/role/add',
  SYS_ROLE_API_UPDATE = 'api/sys/role/update',
  SYS_ROLE_API_DELETE = 'api/sys/role/delete',
  SYS_ROLE_API_PAGE = 'api/sys/role/page',

  SYS_USER_API_ADD = 'api/sys/user/add',
  SYS_USER_API_UPDATE = 'api/sys/user/update',
  SYS_USER_API_DELETE = 'api/sys/user/delete',
  SYS_USER_API_PAGE = 'api/sys/user/page',
  SYS_USER_API_UPDATE_ROLE = 'api/sys/user/update_role',

  SYS_PERMISSION_API_ADD = 'api/sys/permission/add',
  SYS_PERMISSION_API_UPDATE = 'api/sys/permission/update',
  SYS_PERMISSION_API_DELETE = 'api/sys/permission/delete',
  SYS_PERMISSION_API_PAGE = 'api/sys/permission/page',

  SYS_PERMISSION_API_LIST = 'api/sys/permission_info/list',
  SYS_PERMISSION_API_SAVE = 'api/sys/permission_info/save',
  SYS_PERMISSION_API_SEARCH_LIST = 'api/sys/catalog/permission_search_list',
}


//目录列表标识
export enum sysCatalogType {
  MENU_TYPE_CODE = 1,
  SEX_TYPE_CODE,

  COMPANY_TYPE_CODE,
  STATUS_TYPE_CODE,
  POSITION_TYPE_CODE,
  GRAPH_TYPE_CODE,
  ICON_TYPE_CODE,
  TUPLE_TYPE_CODE,
  FIELD_TYPE_CODE,
  PERMISSION_COMPONENT_TYPE_CODE,
  PERMISSION_OPERATE_TYPE_CODE,

  DICT_TYPE_CODE,
  USER_CODE,
  DEPARTMENT_CODE,
  COMPANY_CODE,
  ROLE_CODE,
  MENU_CODE,
  ICON_CODE,
  TUPLE_CODE
}


//目录列表API
export enum sysCatalogUrlAPI {
  SEX_TYPE_API = 'api/sys/catalog/dict_sex_type',
  MENU_TYPE_API = 'api/sys/catalog/dict_menu_type',
  COMPANY_TYPE_API = 'api/sys/catalog/dict_company_type',
  STATUS_TYPE_API = 'api/sys/catalog/dict_status_type',
  POSITION_TYPE_API = 'api/sys/catalog/dict_position_type',
  GRAPH_TYPE_API = 'api/sys/catalog/dict_graph_type',
  ICON_TYPE_CODE = 'api/sys/catalog/dict_icon_type',
  TUPLE_TYPE_CODE = 'api/sys/catalog/dict_tuple_type',
  FIELD_TYPE_CODE = 'api/sys/catalog/dict_field_type',

  PERMISSION_COMPONENT_TYPE_API = 'api/sys/catalog/dict_permission_component_type',
  PERMISSION_OPERATE_TYPE_API = 'api/sys/catalog/dict_permission_operate_type',

  DICT_TYPE_API = 'api/sys/catalog/dict_type_list',
  USER_API = 'api/sys/catalog/user_list',
  DEPARTMENT_API = 'api/sys/catalog/department_list',
  COMPANY_API = 'api/sys/catalog/company_list',
  ROLE_API = 'api/sys/catalog/role_list',
  MENU_API = 'api/sys/catalog/menu_list',
  ICON_API = 'api/sys/catalog/icon_list',
  TUPLE_API = 'api/sys/catalog/tuple_list',
  TUPLE_SEARCH_LIST_API = 'api/sys/catalog/tuple_search_list',
  ICON_SEARCH_LIST_API  = 'api/sys/catalog/icon_search_list'
}

//Model数据 API
export enum sysBaseVOAPI {
  DEPARTMENT_VO_LIST = 'api/sys/basic_vo/department_vo_list',
  DEPARTMENT_VO_MAP = 'api/sys/basic_vo/department_vo_map',
  COMPANY_VO_LIST = 'api/sys/basic_vo/company_vo_list',
  COMPANY_VO_TREE = 'api/sys/basic_vo/company_vo_tree',
  MENU_VO_LIST = 'api/sys/basic_vo/menu_vo_list',
  MENU_VO_TREE = 'api/sys/basic_vo/menu_vo_tree',
  TUPLE_SEARCH_ITEM = 'api/sys/basic_vo/tuple_search_item',
}

